package com.googlecode.openauth.web.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.googlecode.openauth.web.entity.ResourceInfo;

public interface IResourceInfoDao {
	public void addRes(ResourceInfo res);
	public void delResById(int id);
	public void delReses(List<Integer> ids);
	public void updateRes(ResourceInfo res);
	public ResourceInfo getResById(int id);
	public List<ResourceInfo> getResByName(String name);
	public List<ResourceInfo> getReses();
	public List<ResourceInfo> searchResources(ResourceInfo res, RowBounds rowBounds);
}
